@import "./variables.scss";

/* fade */
.fade-enter-active,
.fade-leave-active {
  transition: opacity 0.28s;
}

.fade-enter,
.fade-leave-active {
  opacity: 0;
}

/* fade-transform */
.fade-transform-leave-active,
.fade-transform-enter-active {
  transition: all .5s;
}

.fade-transform-enter {
  opacity: 0;
  transform: translateX(-30px);
}

.fade-transform-leave-to {
  opacity: 0;
  transform: translateX(30px);
}

/* transform-in */
.transform-in-enter-active {
  transition: all .5s;
}

.transform-in-enter {
  opacity: 0;
  transform: translateX(30px);
}

/* breadcrumb transition */
.breadcrumb-enter-active,
.breadcrumb-leave-active {
  transition: all .5s;
}

.breadcrumb-enter,
.breadcrumb-leave-active {
  opacity: 0;
  transform: translateX(20px);
}

.breadcrumb-move {
  transition: all .5s;
}

.breadcrumb-leave-active {
  position: absolute;
}


.sc-animation-border {
  transition: 0.2s;
  border: 1px solid;
  border-color: $green;
  animation: lightcolor 2s linear;
}

@keyframes lightcolor {
  0% {
    border-color: $green;
  }

  30% {
    border-color: $greenLight;
  }

  50% {
    border-color: $green1;
  }

  80% {
    border-color: $greenLight;
  }

  100% {
    border-color: $green;
  }
}


@keyframes icon-jump {
  0% {
      transform: translateY(0);
  }

  20% {
      transform: translateY(0);
  }

  40% {
      transform: translateY(-20px);
  }

  50% {
      transform: translateY(0);
  }

  60% {
      transform: translateY(-7px);
  }

  80% {
      transform: translateY(0);
  }

  100% {
      transform: translateY(0);
  }
}
